package com.hp_dzzl.item.modular.armor;

import net.minecraft.world.entity.EquipmentSlot;
import net.minecraft.world.item.ItemStack;
import ovo.yiran.geotetraarmor.items.ModularArmorItem;
import se.mickelus.tetra.gui.GuiModuleOffsets;

public class HpModularLegsItem extends ModularArmorItem {

    public HpModularLegsItem() {
        super(EquipmentSlot.LEGS, "modular_legs");
        this.majorModuleKeys = new String[]{"belt", "legging_lining", "legging_right", "legging_left"};
        this.minorModuleKeys = new String[]{};
        this.requiredModules = new String[]{"belt", "legging_lining", "legging_right", "legging_left"};
    }

    @Override
    public GuiModuleOffsets getMajorGuiOffsets(ItemStack itemStack) {
        return new GuiModuleOffsets(new int[]{4, 18, -14, 18, 4, 0, -14, 0});
    }

    @Override
    public GuiModuleOffsets getMinorGuiOffsets(ItemStack itemStack) {
        return new GuiModuleOffsets(new int[]{});
    }
}